package com.jiai.cloud.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 小程序应用
 * </p>
 *
 * @author Yanghu
 * @since 2017-05-27
 */
@TableName("t_application")
public class TApplication extends Model<TApplication> {

    private static final long serialVersionUID = 1L;

    /**
     * 应用ID
     */
	@TableId(value="appId", type= IdType.AUTO)
	private Integer appId;
    /**
     * 应用名称
     */
	private String appName;
    /**
     * 应用封面
     */
	private String appCover;
    /**
     * 用户logo
     */
	private String appLogo;
    /**
     * 应用描诉
     */
	private String appDepict;
	private String userId;
    /**
     * 创建时间
     */
	private Date createTime;


	public Integer getAppId() {
		return appId;
	}

	public void setAppId(Integer appId) {
		this.appId = appId;
	}

	public String getAppName() {
		return appName;
	}

	public void setAppName(String appName) {
		this.appName = appName;
	}

	public String getAppCover() {
		return appCover;
	}

	public void setAppCover(String appCover) {
		this.appCover = appCover;
	}

	public String getAppLogo() {
		return appLogo;
	}

	public void setAppLogo(String appLogo) {
		this.appLogo = appLogo;
	}

	public String getAppDepict() {
		return appDepict;
	}

	public void setAppDepict(String appDepict) {
		this.appDepict = appDepict;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.appId;
	}

}
